// pages/bind/index.js
  //获取应用实例
  const app = getApp()
Page({
    data: {
        text: "你好",
        onOff: false
      },
      btnclick:function(e){
         console.log(e.target.dataset.value);
        //   console.log('123');
        //   var onOff = this.data.onOff;
        //   this.setData({text:"hello",onOff:!onOff});
      }
})